Page({
  data: {
    arr: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24],
    currentIndex: 0, //当前选中下标
    dateKeyBoard: ''
  },
  // 处理点击激活事件
  handleClick (e) {
    let dataIndex = e.currentTarget.dataset.index
    this.setData({
      currentIndex: dataIndex
    })
  },
  onLoad () {
    this.setData({
      dateKeyBoard: '2020/11/02'
    })
  }
})